package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.io.IOException;
import java.util.Map;

/**
 * spu信息
 *
 * @author zhangbs
 * @email 18201064863@163.com
 * @date 2024-02-06 22:20:35
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void spuUp(Long spuId) throws IOException;

    SpuInfoEntity getSpuInfoBySkuId(Long id);
}

